<script setup>
import GoodList from '@/components/home/goodList.vue'
import HomeRecommend from '@/components/home/homeRecommend.vue'
import { inject } from 'vue'
defineOptions({
  name: 'ShopHome'
})
const res = inject('homeData')
</script>

<template>
  <div>
    <homeSwipe :slides="res?.slides"></homeSwipe>

    <HomeRecommend :goods="res?.goods"></HomeRecommend>

    <GoodList :goods="res?.goods"></GoodList>
  </div>
</template>

<style scoped></style>
